<?php
declare(strict_types=1);
/**
 * @project: 兔兔找图微信小程序
 * @author: kert
 * @date: 2023/5/16
 * @link: https://www.tutudati.com/
 * @site: 微信搜索-兔兔找图
 */
namespace App\Logic\User\Repository;

use Closure;

interface UserRepositoryInterface
{
    public function repositorySelect(Closure $closure, int $perSize, array $searchFields = []): array;

    public function repositoryCreate(array $insertInfo): bool;

    public function repositoryFind(Closure $closure, array $searchFields = []): array;

    public function repositoryUpdate(array $updateWhere, array $updateInfo): int;

    public function repositoryWhereInDelete(array $deleteWhere, string $field): int;

    public function repositoryDelete(array $deleteWhere): int;
}
